<?php	defined( '_JEXEC' ) or die();	jimport( 'joomla.application.component.view' );		class TestViewAll extends JView	{		function display( $tpl = null)		{			global $option;			$model = &$this->getModel();			$list = $model->getList();						for( $i = 0, $i<count($list), $i ++)			{				$row = & $list[i];				$row ->link = JRouter::_( 'index.php/?option='.$option.'&id='.$row->id.'&task=test' );							}			$this->assignRef( 'list', $list );			parent::display($tpl);		}	}?>